package com.bjb.vr.manager;

import cn.hutool.crypto.digest.MD5;

/**
 * @description:
 * @author: hujingbo
 * @create: 2022-08-02 08:41
 **/
public class MD5test {

    public static void main(String[] args) {

        String statementSql = "SELECT COUNT(*) FROM sync_data WHERE (tenant_id = '1258459ac997')";
        String statementMd5 = MD5.create().digestHex(statementSql);
        System.out.println(statementMd5);
        System.out.println("---------------------------------------");
        String statementMd52 = MD5.create().digestHex(statementSql);
        System.out.println(statementMd52);
    }
}
